package com.yyb.utils.neteaseim.api;

import com.jiuqian.xdpx.aid.neteaseim.bean.entity.NeImMessage;

public interface NeImMessageService {
	
	/** 发送普通文本消息 */
	String SEND_MSG = "https://api.netease.im/nimserver/msg/sendMsg.action";
	
	/** 批量发送点对点消息 */
	String SEND_BATCH_MSG = "https://api.netease.im/nimserver/msg/sendBatchMsg.action";
	
	/** 发送自定义系统通知 */
	String SEND_ATTACH_MSG = " https://api.netease.im/nimserver/msg/sendAttachMsg.action";
	
	/** 批量发送点对点自定义系统通知 */
	String SEND_BATCH_ATTACH_MSG = "https://api.netease.im/nimserver/msg/sendBatchAttachMsg.action";

	/** 文件上传 */
	String FILE_UPLOAD = " https://api.netease.im/nimserver/msg/upload.action";

	/**  文件上传，multipart方式 */
	String MULTIPART_FILE_UPLOAD = "https://api.netease.im/nimserver/msg/fileUpload.action";

	/**
	 *  发送消息，返回code
	 *
	 * @param message
	 * @return
	 */
	String sendMsg(NeImMessage message);

}
